package com.jxauaia.contest.model.dto;

import lombok.Data;
import jakarta.validation.constraints.NotBlank;

@Data
public class LoginDTO {
    @NotBlank(message = "用户名/邮箱不能为空")
    private String username;  // 用户名或邮箱
    
    @NotBlank(message = "密码不能为空")
    private String password;
    
    // 修改验证码字段名称
    private String captchaCode;
    
    private String captchaId;
}